﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>齐重数控官方网站</title>
<meta http-equiv="keywords" content="齐重数控,视频中心"></meta>
<meta http-equiv="description" content="齐重数控官方网站"></meta>
<link href="<%=request.getContextPath()%>/qzsk/css/qzsq.css"
	rel="stylesheet"></link>
<link href="<%=request.getContextPath()%>/qzsk/css/style.css"
	rel="stylesheet"></link>
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/qzsk/css/main.css"></link>
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/qzsk/css/fix.css"></link>
<script
	src="<%=request.getContextPath()%>/ckplayer6.7/ckplayer/ckplayer.js"></script>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/resources/js/jquery-1.7.2.min.js"></script>
<link href="<%=request.getContextPath()%>/resources/outeam/style.css"
	rel="stylesheet" type="text/css" media="all" />
<style>
.videoBox {
	height: 400px;
}

.mesBox {
	width: 300px;
	height: 380px;
	float: left;
	overflow: auto;
	margin-left: 30px;
	margin-top: 15px;
	padding: 8px;
	border: 1px solid silver;
	background-color: #e7e7e7;
	opacity: 0.8;
}

.videoType {
	font-size: 18px;
	color: red;
}

.videoName {
	padding-top: 5px;
	margin-left: 20px;
	font-size: 16px;
}

.videoMessage {
	width: 980px;
	margin: 0 auto;
}
.videoCenter{
margin-top: 20px;
}
.videoCenter span{
color:#888888;
}
</style>
<script type="text/javascript">
	$(function() {
		var flashvars = {
			f : $('#ctx').val() + "/resources/upload/"
					+ $('#video').attr('vName'),
			c : 0,
			b : 1,
			 i:$('#ctx').val()+"/resources/upload/"+$('#video').attr('vpName')
		};
		var params = {
			bgcolor : '#FFF',
			allowFullScreen : true,
			allowScriptAccess : 'always',
			wmode : 'transparent'
		};
		CKobject.embedSWF($('#ctx').val()
				+ '/ckplayer6.7/ckplayer/ckplayer.swf', 'video', 'ckplayer_a1',
				'600', '400', flashvars, params);
	});
</script>
</head>
<body>
	<input type="hidden" value="<%=request.getContextPath()%>" id="ctx" />
	<jsp:include page="top.jsp"></jsp:include>
	<div class="n_cont">
<center>
		<div class="wrap dhe">
			<div class="videoBox">
				<div id="video" vName="${video.newName }" vpName="${video.videoImg.newName }"
					style='float: left; padding: 10px;'></div>
				<div class="mesBox">
					<span class="videoType">${vc.name }</span>
					<div>
						<c:forEach items="${videoAll }" var="va">
							<c:if test="${video.id==va.id }">
								<div><a href="<%=request.getContextPath()%>/showVideo/${va.id}.do"><h3
										class="videoName" style="color: green;">●${va.attName }</h3></a></div>
							</c:if>
							<c:if test="${video.id!=va.id }">
							<div>
								<a href="<%=request.getContextPath()%>/showVideo/${va.id}.do"><h3
										class="videoName" style="color: gray;">--${va.attName }</h3></a></div>
							</c:if>
						</c:forEach>
					</div>
					<div class="videoCenter">
						<a
							href="<%=request.getContextPath()%>/channel/${video.proTypeId }.do">
							<span >回到视频中心</span>
						</a>
					</div>
				</div>
			</div>

		</div>

	</div>
	<div class="videoMessage">
		<table>
			<tr>
				&nbsp&nbsp&nbsp 视频介绍:
				<td>${video.picMessage }</td>
			</tr>
		</table>
	</div>
	<jsp:include page="foot.jsp"></jsp:include></center>
</body>
</html>


